# encoding: utf-8
"""
@author: Dirac
@file: urls.py
@time: 2020/7/29 16:02
@desc:
"""
from django.urls import path
from .views import account, home

app_name = 'web'
urlpatterns = [
    path('register/', account.register, name='register'),
    path('send/sms/', account.send_sms, name='send_sms'),
    path('login/sms/', account.login_sms, name='login_sms'),
    path('login/', account.login, name='login'),
    path('image/code/', account.image_code, name='image_code'),
    path('index/', home.index, name='index'),
    path('logout/', account.logout, name='logout')
]